﻿using System;
using System.Collections.Generic;
using System.Text;
using WinFormsApp1.Interface;

namespace WinFormsApp1
{
    class Square : Shape
    {
        private double a;
        public Square() { }
        public Square(double a)
        {
            this.a = a;
        }
        public void seta(double a)
        {
            this.a = a;
        }
        public double CalculatedArea()
        {
            return a * a;
        }


        public bool isReasonable()
        {
            return a > 0;
        }
    }
}
